package com.hmall.search.service;

import com.hmall.common.PageBean;
import com.hmall.item.pojo.Item;
import com.hmall.search.dto.SearchDto;

import java.io.IOException;

public interface SearchService {


    void mysql2ES() throws IOException;

    PageBean<Item> search(SearchDto dto);
}